package com.du.yuchenweather.util.db;

import org.litepal.crud.DataSupport;

public class Weather extends DataSupport {
    /**
     * 更新信息
     */

    private String updateTime;

    /**
     * 当前区信息
     */

    private int countryId;

    private String cnty;

    private String parent_city;

    private String location;

    /**
     * 天气信息，3~10天
     * daily_forecast
     */

    private int cond_code_d;        //白天信息

    private String cond_txt_d;

    private int cond_code_n;        //夜间信息

    private String cond_txt_n;

    private String tmp_max;         //最高温度

    private String tmp_min;         //最低温度

    private String sr;              //日出时间

    private String ss;              //日落时间

    private String wind_dir;        //风向

    private String wind_sc;         //风力

    private String wind_spd;        //风速(公里/小时)

    private String hum;             //相对湿度

    private String pcpn;            //降水量

    private String pop;             //降水概率

    private String pres;            //大气压强

    private String uv_index;        //紫外线强度

    private String vis;             //能见度

    /**
     * 未来24小时天气
     * hourly
     */

    /**
     * 实况天气
     * now
     */

    private String tmp_c;                 //温度

    private String fl_c;                  //体感温度

    private int cond_code_c;              //实况天气

    private String cond_txt_c;

    private String wind_dir_c;          //当前风向

    private String wind_sc_c;           //当前风力

    private String wind_spd_c;          //当前风速

    private String pcpn_c;              //当前降水量

    private String pres_c;              //当前大气压

    private String vis_c;               //当前能见度

    private String cloud_c;               //当前云量



    public Weather(String updateTime) {
        this.updateTime = updateTime;
    }

    /**
     *
     * @param updateTime
     * @param countryId  current district Id
     * @param location   current district
     * @param cnty
     * @param parent_city
     */

    public Weather(String updateTime, int countryId, String cnty, String parent_city, String location) {
        this.updateTime = updateTime;
        this.countryId = countryId;
        this.cnty = cnty;
        this.parent_city = parent_city;
        this.location = location;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public int getCountryId() {
        return countryId;
    }

    public void setCountryId(int countryId) {
        this.countryId = countryId;
    }

    public String getCnty() {
        return cnty;
    }

    public void setCnty(String cnty) {
        this.cnty = cnty;
    }

    public String getParent_city() {
        return parent_city;
    }

    public void setParent_city(String parent_city) {
        this.parent_city = parent_city;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public int getCond_code_d() {
        return cond_code_d;
    }

    public void setCond_code_d(int cond_code_d) {
        this.cond_code_d = cond_code_d;
    }

    public String getCond_txt_d() {
        return cond_txt_d;
    }

    public void setCond_txt_d(String cond_txt_d) {
        this.cond_txt_d = cond_txt_d;
    }

    public int getCond_code_n() {
        return cond_code_n;
    }

    public void setCond_code_n(int cond_code_n) {
        this.cond_code_n = cond_code_n;
    }

    public String getCond_txt_n() {
        return cond_txt_n;
    }

    public void setCond_txt_n(String cond_txt_n) {
        this.cond_txt_n = cond_txt_n;
    }

    public String getTmp_max() {
        return tmp_max;
    }

    public void setTmp_max(String tmp_max) {
        this.tmp_max = tmp_max;
    }

    public String getTmp_min() {
        return tmp_min;
    }

    public void setTmp_min(String tmp_min) {
        this.tmp_min = tmp_min;
    }

    public String getSr() {
        return sr;
    }

    public void setSr(String sr) {
        this.sr = sr;
    }

    public String getSs() {
        return ss;
    }

    public void setSs(String ss) {
        this.ss = ss;
    }

    public String getWind_dir() {
        return wind_dir;
    }

    public void setWind_dir(String wind_dir) {
        this.wind_dir = wind_dir;
    }

    public String getWind_sc() {
        return wind_sc;
    }

    public void setWind_sc(String wind_sc) {
        this.wind_sc = wind_sc;
    }

    public String getWind_spd() {
        return wind_spd;
    }

    public void setWind_spd(String wind_spd) {
        this.wind_spd = wind_spd;
    }

    public String getHum() {
        return hum;
    }

    public void setHum(String hum) {
        this.hum = hum;
    }

    public String getPcpn() {
        return pcpn;
    }

    public void setPcpn(String pcpn) {
        this.pcpn = pcpn;
    }

    public String getPop() {
        return pop;
    }

    public void setPop(String pop) {
        this.pop = pop;
    }

    public String getPres() {
        return pres;
    }

    public void setPres(String pres) {
        this.pres = pres;
    }

    public String getUv_index() {
        return uv_index;
    }

    public void setUv_index(String uv_index) {
        this.uv_index = uv_index;
    }

    public String getVis() {
        return vis;
    }

    public void setVis(String vis) {
        this.vis = vis;
    }

    public String getTmp_c() {
        return tmp_c;
    }

    public void setTmp_c(String tmp_c) {
        this.tmp_c = tmp_c;
    }

    public String getFl_c() {
        return fl_c;
    }

    public void setFl_c(String fl_c) {
        this.fl_c = fl_c;
    }

    public int getCond_code_c() {
        return cond_code_c;
    }

    public void setCond_code_c(int cond_code_c) {
        this.cond_code_c = cond_code_c;
    }

    public String getCond_txt_c() {
        return cond_txt_c;
    }

    public void setCond_txt_c(String cond_txt_c) {
        this.cond_txt_c = cond_txt_c;
    }

    public String getWind_dir_c() {
        return wind_dir_c;
    }

    public void setWind_dir_c(String wind_dir_c) {
        this.wind_dir_c = wind_dir_c;
    }

    public String getWind_sc_c() {
        return wind_sc_c;
    }

    public void setWind_sc_c(String wind_sc_c) {
        this.wind_sc_c = wind_sc_c;
    }

    public String getWind_spd_c() {
        return wind_spd_c;
    }

    public void setWind_spd_c(String wind_spd_c) {
        this.wind_spd_c = wind_spd_c;
    }

    public String getPcpn_c() {
        return pcpn_c;
    }

    public void setPcpn_c(String pcpn_c) {
        this.pcpn_c = pcpn_c;
    }

    public String getPres_c() {
        return pres_c;
    }

    public void setPres_c(String pres_c) {
        this.pres_c = pres_c;
    }

    public String getVis_c() {
        return vis_c;
    }

    public void setVis_c(String vis_c) {
        this.vis_c = vis_c;
    }

    public String getCloud_c() {
        return cloud_c;
    }

    public void setCloud_c(String cloud_c) {
        this.cloud_c = cloud_c;
    }
}
